﻿<Window x:Class="Gmis.VideoConvert.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ResizeMode="NoResize" WindowStartupLocation="CenterScreen"
        Title="FLV视频转换器（支持格式：*.rmvb;*.wmv;*.rm;*.avi;*.mod）" Height="350" Width="525">
    <DockPanel LastChildFill="True">
        
        <ProgressBar DockPanel.Dock="Bottom" Height="30" Name="pb"></ProgressBar>
        <TextBlock DockPanel.Dock="Bottom" Name="txtMessage" Text="状态："></TextBlock>
        
        <Grid Name="param">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="20*"/>
                <ColumnDefinition Width="70*"/>
                <ColumnDefinition Width="10*"/>
            </Grid.ColumnDefinitions>
            <TextBlock Text="选择视频:" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="5"></TextBlock>
            <TextBox Grid.Column="1" VerticalAlignment="Center" Margin="5" Name="txtInput" IsReadOnly="True"></TextBox>
            <Button Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Left" Height="20" Width="30" Content="选择" Name="btnSelectIn" Click="btnSelectIn_Click"></Button>

            <TextBlock Grid.Row="1" Text="输出路径:" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="5"></TextBlock>
            <TextBox Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Margin="5" IsReadOnly="True"  Name="txtOutput"></TextBox>
            <Button Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Left" Height="20" Width="30" Content="选择" Name="btnSelectOut" Click="btnSelectOut_Click"></Button>

            <Button Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Content="开始转换" Width="75" Height="30" Click="Button_Click"></Button>
        </Grid>

    </DockPanel>
   
</Window>
